package com.Day1008;

public class MyText1 implements MyText {
    public static void main(String[] args) {
        Student student = new Student();
        MyText1 myText1 = new MyText1();
        student.test(myText1);
    }

    @Override
    public void test1() {
        System.out.println("接口实现类的test");
    }
}
